<div class="main">
  <ul [ngClass]="{'ul-active': articleShow}" (mouseleave)="articleShow = false;">
    <i class="fa fa-list" [ngClass]="{'list-active': articleShow}" title="软件列表" (click)="articleShow = true;"></i>
    <ng-container *ngIf="articleShow">
      <li>软件总数：{{articleList.length}}</li>
      <ng-container *ngFor="let item of articleList;let i = index;">
        <li (click)="softwareHandle(item, $event)">
          <span>
            【{{i + 1}}】{{item.title}}
            <i class="fa" [ngClass]="{'fa-file-pdf-o': item.type === 1,'fa-cog': item.type === 2}"></i>
          </span>
        </li>
      </ng-container>
    </ng-container>
  </ul>
  <div class="content" [innerHTML]="contentDecode(currentArticle && currentArticle.content)"></div>
</div>
